﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace projectQLDV
{
    public partial class frmXepLoaiDoanVien : DevExpress.XtraEditors.XtraForm
    {
        private frmMain frmM;
        public frmXepLoaiDoanVien(frmMain frm)
        {
            InitializeComponent();
            frmM = frm;
            loadYear();
        }

        private void loadYear()
        {
            for (int i = 2000; i < 2030; i++)
            {
                this.comboBoxNamHoc.Properties.Items.Add(i.ToString()+"-"+(i+1).ToString());
            }
        }

        private void comboBoxNamHoc_SelectedValueChanged(object sender, EventArgs e)
        {
            this.btnXepLoai.Enabled = true;
        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            this.Close();
            this.Dispose();
        }

        private void btnXuatExel_Click(object sender, EventArgs e)
        {
            
        }
    }
}